//
//  NSString+nullStr.m
//  LHIAPManager
//
//  Created by Apple on 2018/1/3.
//  Copyright © 2018年 youweidao. All rights reserved.
//

#import "NSString+nullStr.h"

@implementation NSString (nullStr)
+ (BOOL) lh_isBlankString:(NSString *)string
{
    if (string == nil || string == NULL || [string isEqualToString:@"(null)"]){
        return YES;
    }
    if (string == nil || string == NULL || [string isKindOfClass:[NSNull class]]){
        return YES;
    }
    if (string == nil || string == NULL ){
        return YES;
    }
    if ([string isKindOfClass:[NSNull class]]) {
        return YES;
    }
    if ([[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] length]==0) {
        return YES;
    }
    return NO;
}
@end
